Make --no-site-lisp work for --enable-locallisppath elements
authorGlenn Morris <rgm@gnu.org>
Sat, 30 Jun 2012 21:10:50 +0000 (14:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 30 Jun 2012 21:10:50 +0000 (14:10 -0700)
commit6039db551cc9fffe4e5b6ab319f920747241c85a
treecea693925a7740cbfcd110b321258b3be59c2bf3
parent99176b53ef7bd17cac19b2f8a35b7f3e1d011aaa
Make --no-site-lisp work for --enable-locallisppath elements
without "site-lisp" in the name.
Ref http://debbugs.gnu.org/10208#25, point iii).

* configure.in (standardlisppath): New output variable.
(lisppath): Use standardlisppath.
* Makefile.in (standardlisppath): New, set by configure.
(epaths-force): Use standardlisppath and locallisppath rather than lisppath.

* src/epaths.in (PATH_SITELOADSEARCH): New.
* src/lread.c (init_lread): Use PATH_SITELOADSEARCH.

* nt/paths.h (PATH_SITELOADSEARCH): New.
ChangeLog
Makefile.in
configure.in
lisp/loadup.el
nt/ChangeLog
nt/paths.h
src/ChangeLog
src/epaths.in
src/lread.c